home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #2
/
Monster Media No. 2 (Monster Media)(1994).ISO
/
bbs_game
/
cshark04.zip
/
INSTALL.DOC
< prev
next >
Wrap
Text File
|
1994-06-06
|
5KB
|
120 lines
┌─────────────────────────────────────────────────────────────────────────┐
│▒ Installation ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│
└─────────────────────────────────────────────────────────────────────────┘
Program Usage is :
CSHARKS [Command-line Option] [Command-line Option] ...
[Command-line Option] 's are
-d<Dropfile Path> : Path where door is to find the BBS's information
dropfile. Note: Use the path only, don't use the
name of your dropfile.
-c<Config File> : Path AND Name of the configuration file the door should
use.
-l : Run program in Local-Only Mode
-p<Port Number> : Specifies the port number the game is being run under.
This is almost always not needed as the door will get
its parameters from the BBS's drop file read in with
the -c<Config File> option. Note : This option does not
apply if a Fossil is installed.
-i<Com IRQ #> : You may specify a non-standard IRQ which is used to
control your serial port. This is normally not needed. The
default IRQ for the serial port in use will almost always
work. Note : This option does not apply if a Fossil is
installed.
-a<Com Address> : You may specify a non-standard serial port address here.
The defaults are taken from BIOS for COM1 thru COM4 and
this is normally not needed. Note : This option does not
apply if a Fossil is installed.
1. Make a Directory in which to keep Game Files. For this example, we'll
use C:\BBS\GAME
2. Unzip CSHARKxxx.ZIP in this directory.
3. Modify the config file CSHARK.CFG to your liking, options are explained
in the file itself. You may copy and rename this file if you would
like different config files for different nodes. This is accomplished
by using the command-line parameter -c<Config File>. Note : If you're
running multi-node and wish to share 1 config file among more than one
node, be sure to set the read-only attribute on the file. After you're
done editing the file, you can do this using the dos command. For
example : ATTRIB +R CSHARK.CFG will set the read-only attribute on the
file "cshark.cfg". To later edit the file, the read-only attribute must
be removed by using ATTRIB -R CSHARK.CFG.
Just as a general note : it's recommended that any shared batch files
also have the read-only attribute set so as to avoid sharing violations.
4. Create a batch file for your BBS to call the program.
This example assumes you're running multiline, the game
files are in C:\BBS\GAME and the 3 lines you're running in are
C:\BBS\LINE1, C:\BBS\LINE2, & C:\BBS\LINE3 respectively.
5. Call the batch file from your BBS and pass the node number that your
BBS is running under, e.g. runmulti 1 for the first line or runmulti 2
for you 2nd line, etc...
Note for RemoteAccess Users, Use a Type 7 execute sub-program and place
"*c /c runmulti.bat *N *M" in the optional data field.
Example: "RUNMULTI.BAT" ...
If %1==1 goto LINE1
If %1==2 goto LINE2
If %1==3 goto LINE3
:LINE1
CD\BBS\GAME
CSHARKS -dC:\BBS\LINE1 <= Config file defaults to CSHARK.CFG
CD\BBS\LINE1
GOTO END
:LINE2
CD\BBS\GAME
CSHARKS -dC:\BBS\LINE2 -cCSHARK2.CFG
CD\BBS\LINE2
GOTO END
:LINE3
CD\BBS\GAME
CSHARKS -dC:\BBS\LINE3 -cCSHARK3.CFG
CD\BBS\LINE3
:END
Alternate Multiline Example :
On My BBS, I use the following "RUNMULTI.BAT"
cd\ra\game
csharks -D\ra\line%node% -Ccshark%node%.cfg
cd\ra\line%node%
This assumes that somewhere in the batch file that runs the first line of
your BBS, you have set the environment variable NODE using the line
"Set Node=1", in the batch file that runs your second line you have
"Set Node=2" {Without Parentheses}, etc...
Note for Multi-Node Systems : DOS's share MUST be loaded and I recommend
setting the Read-Only attribute on "RUNMULTI.BAT" and on all your BBS
batch files that your nodes share.
Sample single-line bbs game startup batch file ...
Example: "RUNGAME.BAT"
CD\BBS\GAME
CSHARKS -dC:\BBS <= Configuration file defaults to CSHARK.CFG
CD\BBS